home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / lsb121.zip / PRINTDOC.BAT < prev    next >
DOS Batch File  |  1992-04-20  |  3KB  |  59 lines

  1. echo off
  2. cls
  3. rem
  4. rem PRINTDOC.BAT
  5. rem Batch file to print LaserBinder's manual on an HP LaserJet.
  6. rem Version 1.00
  7. rem Copyright (C) 1992, by Micept Instruments Inc.
  8. rem
  9. echo ********************** L a s e r B i n d e r ************************
  10. echo *                                                                   *
  11. echo *                            PRINTDOC                               *
  12. echo * This batch file will print LaserBinder's manual on an HP LaserJet *
  13. echo * printer. It assumes you will be using the cassette to hold the    *
  14. echo * paper and that you will use the top output tray so that the paper *
  15. echo * stack will begin with the last sheet printed.                     *
  16. echo * The manual printed will fit nicely into an IBM-style binder.      *
  17. echo *                                                                   *
  18. echo *********************************************************************
  19. echo * The manual can also be printed on any other printer using:        *
  20. echo * COPY LB.DOC PRN:                                                  *
  21. echo *********************************************************************
  22. if not exist LB.DOC goto ERROR
  23. echo ---------------------------------------------------------------------
  24. echo The first pass will print the front side of every sheet of
  25. echo paper using the cassette. Make sure you have at least 20 sheets
  26. echo in the cassette and that the printer is ready.
  27. echo ---------------------------------------------------------------------
  28. echo Press a key when ready or Ctrl-C to abort.
  29. pause > NUL
  30. echo =====================================================================
  31. LB LB.DOC -U -F -R -HL: -HR: -FL: -FR: -IBM -FRA:CH %1
  32. echo ---------------------------------------------------------------------
  33. echo The second pass will print the back side of every sheet of
  34. echo paper using the cassette. The paper stack should be reinserted,
  35. echo as is, into the cassette at this point. The last sheet printed
  36. echo should be on top of the stack and face down.
  37. echo Make sure the printer is ready.
  38. echo ---------------------------------------------------------------------
  39. echo Press a key when ready or Ctrl-C to abort.
  40. pause > NUL
  41. echo =====================================================================
  42. LB LB.DOC -U -B -R -HL: -HR: -FL: -FR: -IBM -FRA:CH %1
  43. echo ---------------------------------------------------------------------
  44. echo Now that the sheets are all printed, take the stack of paper and,
  45. echo using the printed line in the center of the sheets to guide you, 
  46. echo cut the sheets in two parts. Then punch the holes, using the printed
  47. echo targets, and this manual is ready to fit into any IBM-style binder. 
  48. echo You may read the manual at this point!
  49. echo =====================================================================
  50. goto END
  51. :ERROR
  52. echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  53. echo                              ERROR
  54. echo The file "LB.DOC" which contain the manual must be in the current 
  55. echo directory.
  56. echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  57. :END
  58.  
  59.